<script setup lang="ts">
import { Plus } from '@element-plus/icons-vue'
</script>

<template>
  <el-form label-width="auto">
    <el-form-item label="SPU名称">
      <el-input />
    </el-form-item>
    <el-form-item label="SPU品牌">
      <el-input />
    </el-form-item>
    <el-form-item label="SPU描述">
      <el-input />
    </el-form-item>
    <el-form-item label="SPU照片">
      <el-upload
        class="avatar-uploader"
        action="https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15"
      >
        <img v-if="false" src="" class="avatar" alt="" />
        <el-icon v-else class="avatar-uploader-icon"><Plus /></el-icon>
      </el-upload>
    </el-form-item>
  </el-form>
</template>

<style scoped></style>
